package com.origin.app.bean;

import java.util.List;
public class WeatherBean {


    
    private String reason;
    
    private ResultDTO result;
    
    private int errorCode;


    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    @Override
    public String toString() {
        return "WeatherBean{" +
                "reason='" + reason + '\'' +
                ", result=" + result +
                ", errorCode=" + errorCode +
                '}';
    }

    public static class ResultDTO {

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public RealtimeDTO getRealtime() {
            return realtime;
        }

        public void setRealtime(RealtimeDTO realtime) {
            this.realtime = realtime;
        }

        public List<FutureDTO> getFuture() {
            return future;
        }

        public void setFuture(List<FutureDTO> future) {
            this.future = future;
        }

        private String city;
        
        private ResultDTO.RealtimeDTO realtime;
        
        private List<FutureDTO> future;

        
        
        public static class RealtimeDTO {
            
            private String temperature;
            
            private String humidity;
            
            private String info;
            
            private String wid;
            
            private String direct;
            
            private String power;
            
            private String aqi;
        }

        
        
        public static class FutureDTO {

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getTemperature() {
                return temperature;
            }

            public void setTemperature(String temperature) {
                this.temperature = temperature;
            }

            public String getWeather() {
                return weather;
            }

            public void setWeather(String weather) {
                this.weather = weather;
            }

            public WidDTO getWid() {
                return wid;
            }

            public void setWid(WidDTO wid) {
                this.wid = wid;
            }

            public String getDirect() {
                return direct;
            }

            public void setDirect(String direct) {
                this.direct = direct;
            }

            private String date;
            
            private String temperature;
            
            private String weather;
            
            private ResultDTO.FutureDTO.WidDTO wid;
            
            private String direct;

            
            
            public static class WidDTO {

                public String getDay() {
                    return day;
                }

                public void setDay(String day) {
                    this.day = day;
                }

                public String getNight() {
                    return night;
                }

                public void setNight(String night) {
                    this.night = night;
                }

                private String day;
                
                private String night;
            }
        }
    }
}
